import { Param } from "./types";

export const Flake8AnnotationsParamList: Param[] = [
    {
        name: "allow-star-arg-any",
        descEn: "Whether to suppress ANN401 for dynamically typed *args and **kwargs arguments.",
        descCn: "",
        defaultValue: false,
        url: "https://beta.ruff.rs/docs/settings/#allow-star-arg-any",
    },
    {
        name: "ignore-fully-untyped",
        descEn: "Whether to suppress ANN* rules for any declaration that hasn't been typed at all. This makes it easier to gradually add types to a codebase.",
        descCn: "",
        defaultValue: false,
        url: "https://beta.ruff.rs/docs/settings/#ignore-fully-untyped",
    },
    {
        name: "mypy-init-return",
        descEn: "Whether to allow the omission of a return type hint for __init__ if at least one argument is annotated.",
        descCn: "",
        defaultValue: false,
        url: "https://beta.ruff.rs/docs/settings/#mypy-init-return",
    },
    {
        name: "suppress-dummy-args",
        descEn: `Whether to suppress ANN000-level violations for arguments matching the "dummy" variable regex (like _).`,
        descCn: "",
        defaultValue: false,
        url: "https://beta.ruff.rs/docs/settings/#suppress-dummy-args",
    },
    {
        name: "suppress-none-returning",
        descEn: `Whether to suppress ANN200-level violations for functions that meet either of the following criteria:

        Contain no return statement.
        Explicit return statement(s) all return None (explicitly or implicitly).`,
        descCn: "",
        defaultValue: false,
        url: "https://beta.ruff.rs/docs/settings/#suppress-none-returning",
    },
];